home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / BAN2.M3 < prev    next >
Text File  |  1996-04-01  |  3KB  |  128 lines

  1. name Bandit 2
  2.  
  3. / 00
  4. N >4
  5. G >2
  6. X ->3.>4
  7. Y ->3.>4
  8. Z ->3.>4
  9. I ->3.>4
  10. J ->3.>4
  11. F >3.>1
  12. T 2
  13. M 2
  14.  
  15. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  16.  
  17. ModalLetters X Y F                    # List of letters that are modal    
  18.  
  19. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  20.  
  21. HCode X                               # X or X U  'Horizontal char.       
  22. VCode Y                               # Y or Y V  'Vertical char.         
  23. Dcode Z                               # Depth char.                       
  24. FeedCode F                            # Feed rate char.                   
  25. Rapid /0                            # Rapid positioning word            
  26. Cw G2                               # Circular move clockwise           
  27. Ccw G3                              # Circular move counter clockwise   
  28.  
  29. Comment ( )                           # Begin End comment char.           
  30.  
  31. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  32. Coolant 8 9 7                         # On, Off & Mist m codes            
  33. DComp 41 42 40                        # Left, Right & Cancel m codes      
  34. LComp 43 49                           # On & Off codes                    
  35. CtrCode I J                           # I J or R or I J K L               
  36. Helical? N
  37.  
  38. Spaces? Y                             # Y or N  'Spaces between words     
  39. Incremental? N                        # Y or N  'Inc or abs output        
  40. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  41. ByQuadrants? Y                        # Y or N  'Break arcs at quadrants  
  42. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  43. Work G                                # Work offset register              
  44.  
  45. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  46.  
  47. Drill                                 # Drilling canned/manual cycle      
  48. Z[D]
  49. /0 Z[RPlane]
  50. /0 X[H] Y[V]
  51. /0 Z[VClear]
  52. end
  53.  
  54. Peck                                  # Pecking canned/manual cycle       
  55. none
  56. end
  57.  
  58. Tap                                   # Tapping canned/manual cycle       
  59. G84 Z[D]
  60. /0 X[H] Y[V]
  61. end cancel
  62.  
  63. LTap                                  # Left handed tapping cycle         
  64. G74 Z[D]
  65. /0 X[H] Y[V]
  66. end cancel
  67.  
  68. Ream                                  # Reaming canned/manual cycle       
  69. Z[D]
  70. Z[VClear]
  71. /0 Z[RPlane]
  72. /0 X[H] Y[V]
  73. /0 Z[VClear]
  74. end
  75.  
  76. Bore                                  # Boring canned/manual cycle        
  77. G86 Z[D]
  78. /0 X[H] Y[V]
  79. end cancel
  80.  
  81. Back                                  # Back boring canned/manual cycle   
  82. G87 Z[D]
  83. /0 X[H] Y[V]
  84. end cancel
  85.  
  86. Cancel                                # Cancel a canned/manual cycle      
  87. G80
  88. end
  89.  
  90. StartCode                             # Start of the program              
  91. End
  92.  
  93. 1stToolChange                         # First tool change                 
  94. /0 N500
  95. G91
  96. /0 X[H] Y[V]
  97. T[Tool]
  98. /0 Z[RPlane]
  99. End
  100.  
  101. ToolChange                            # Secondary tool changes            
  102. T0
  103. /0 N800
  104. /0 N900
  105. /0 N500
  106. G91
  107. /0 X[H] Y[V]
  108. T[Tool]
  109. /0 Z[RPLane]
  110. End
  111.  
  112. Infeed                                # Enable cutter comp                
  113. Z[D] F[Plunge]
  114. X[H] Y[V]
  115. end
  116.  
  117. Outfeed                               # Disable cutter comp               
  118. X[H] Y[V]
  119. Z[D]
  120. end
  121.  
  122. EndCode                               # End of the program                
  123. /0 G6
  124. N65
  125. T0
  126. /0 N800
  127. M0
  128. End